package cn.yunhe.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class TestController {
    @RequestMapping("/test")
    public ModelAndView test(){
        ModelAndView mv=new ModelAndView("index");
        return mv;
    }
    @RequestMapping("/test2")
    public ModelAndView test2(){
        ModelAndView mv=new ModelAndView("form_validation");
        return mv;
    }

    @RequestMapping("/test3")
    public ModelAndView test3(){
        ModelAndView mv=new ModelAndView("moban");
        return mv;
    }


}
